#include "../mqserver/connection.hpp"

int main()
{
    mymq::ConnectionManager::ptr cmp = std::make_shared<mymq::ConnectionManager>();
    cmp->NewConnection(std::make_shared<mymq::ConsumerManager>(),
        std::make_shared<mymq::VirtualHost>("host1", "./data/host1/message", "./data/host1/meta.db"),
        muduo::net::TcpConnectionPtr(),
        mymq::ProtobufCodecPtr(),
        mymq::ThreadPool::ptr());

    return 0;
}